package com.example.mydy.model;

import java.util.Date;

/**
 * 项目解锁状态模型类
 * 用于记录用户解锁项目的状态信息
 */
public class ProjectUnlockStatus {
    private int id;
    private int projectId;
    private String username;
    private Date unlockTime;
    private double unlockPrice;
    
    public ProjectUnlockStatus() {
        // 默认构造函数
    }
    
    public ProjectUnlockStatus(int id, int projectId, String username, Date unlockTime, double unlockPrice) {
        this.id = id;
        this.projectId = projectId;
        this.username = username;
        this.unlockTime = unlockTime;
        this.unlockPrice = unlockPrice;
    }
    
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public int getProjectId() {
        return projectId;
    }
    
    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }
    
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public Date getUnlockTime() {
        return unlockTime;
    }
    
    public void setUnlockTime(Date unlockTime) {
        this.unlockTime = unlockTime;
    }
    
    public double getUnlockPrice() {
        return unlockPrice;
    }
    
    public void setUnlockPrice(double unlockPrice) {
        this.unlockPrice = unlockPrice;
    }
} 